<template>
  <el-config-provider :message="messageConfig" :locale="zhCn">
    <slot></slot>
  </el-config-provider>
</template>

<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const messageConfig = {
    max: 3,
}
</script>